<% for name in [:info, :warning, :error, :notice]%>
	<% if flash[name]%>
	<div class="warning">
	    <p><%= flash[name]%></p>
	</div>
	<% flash[name] = nil%>
	<% end%>
<% end%>